.avatar{display: inline-block; position: relative; border-style: none; overflow: hidden}
.avatar>img{display: block; width: 100%; height: 100%}